package com.hehui.module.goods.dao;


import com.hehui.module.goods.entity.GoodsPriced;
import com.hehui.module.goods.entity.GoodsPricedExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 价格mapper
 *
 */
public interface GoodsPricedMapper {
    long countByExample(GoodsPricedExample example);

    int deleteByExample(GoodsPricedExample example);

    int deleteByPrimaryKey(Long gpPricedid);

    int insert(GoodsPriced record);

    int insertSelective(GoodsPriced record);

    List<GoodsPriced> selectByExample(GoodsPricedExample example);

    GoodsPriced selectByPrimaryKey(Long gpPricedid);

    int updateByExampleSelective(@Param("record") GoodsPriced record, @Param("example") GoodsPricedExample example);

    int updateByExample(@Param("record") GoodsPriced record, @Param("example") GoodsPricedExample example);

    int updateByPrimaryKeySelective(GoodsPriced record);

    int updateByPrimaryKey(GoodsPriced record);
    // 模糊查询带商户id
    List<GoodsPriced> findGoodsPricedLike(@Param("map") Map map);
}